import {
    get,
    post
} from '../utils/request'
//根据条件查询北斗数据列表
export const addTailingPond = function (params) {
    return get('/group/bdData/getBdDataList', params)
}
//查询测点数据预警日志与预警处理日志列表
export const getDataWarnAllLogsByPage = function (params) {
    return get('/group/warningManage/getDataWarnAllLogsByPage', params)
}
//查询测点设备预警日志与预警处理日志列表
export const getEquipmentWarnAllLogsByPage = function (params) {
    return get('/group/warningManage/getEquipmentWarnAllLogsByPage', params)
}
// 分页查询预警等级通知等日志列表 
export const getWarningAllNoticesListByPage = function (params) {
    return get('/group/warningNotice/getWarningAllNoticesListByPage', params)
}
//集团端-风险综合监测-监测系统管理-监测设备日志
export const getWaringDealLogPageList = function (params) {
    return get('/group/monitoringManagement/getWaringDealLogPageList', params)
}
//集团端-风险综合监测-监测系统管理-监测设备运行状态统计
export const getEquipmentStateStatistics = function (params) {
    return get('/group/monitoringManagement/getEquipmentStateStatistics', params)
}
//集团端 - 风险综合监测 - 监测系统管理 - 监测设备运行状态统计 - 获取故障详情
export const getFaultDetails = function (params) {
    return get('/group/monitoringManagement/getFaultDetails', params)
}
// 集团端-风险综合监测-监测系统管理-人工与自动化对比
export const getManpowerVersusAutomation = function (params) {
    return get('/group/monitoringManagement/getManpowerVersusAutomation', params)
}
// 集团端-风险综合监测-监测系统管理-获取监测点和监测类型
export const getMonitoringAndMonitoringType = function (params) {
    return get('/group/monitoringManagement/getMonitoringAndMonitoringType', params)
}
// 集团端-风险综合监测-监测系统管理-获取所有监测类型
export const getMonitoringTypeAll = function (params) {
    return get('/group/monitoringManagement/getMonitoringTypeAll', params)
}
// 集团端-风险综合监测-监测系统管理-获取所有监测类型(除视频)
export const getAllMonitoringAndMonitoringType = function (params) {
    return get('/group/monitoringManagement/getAllMonitoringAndMonitoringType', params)
}
// 集团端-风险综合监测-监测系统管理-数据统计
export const getMonitoringDataStatisticsAll = function (params) {
    return get('/group/monitoringManagement/getMonitoringDataStatisticsAll', params)
}

// 集团端-风险综合监测-监测系统管理-监测数据
export const getMonitorDataResponseGp = function (params) {
    return get('/group/monitorData/getMonitorDataResponseGpList', params)
}
//集团端 - 风险综合监测 - 监测系统管理 - 监测设备日志导出excel
export const getWaringDealLogExportExcel = function (params) {
    return get('/group/monitoringManagement/getWaringDealLogExportExcel', params)
}

// 集团端 - 风险综合监测 - 累计变形分析和单点变形速率分析
export const getMonitorDataResponseGpList = function ( endTime, MonitorCode, MonitorTypeId, startTime, timeType ) {
    return get('/group/dataVisualization/getMonitorDataResponseGpList?endTime=' + `${endTime}` +'&monitorCode=' + `${MonitorCode}` + '&monitorTypeId=' + `${MonitorTypeId}` + '&startTime=' + `${startTime}` + '&timeType=' + `${timeType}`)
}

// 集团端 - 风险综合监测 - 累计变形数据
export const getCurrentChangeData = function (tailingPondId) {
    return get('/group/dataVisualization/getCurrentChangeData/' + `${tailingPondId}`)
}